<!DOCTYPE html>
<html lang="en">
<!-- 创建客户组管理页面 -->
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <!--[if lt IE 9]>
    <script type="text/javascript" src="../../../lib/html5shiv.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/respond.min.js?rev=@@hash"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="../../../lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="../../../static/h-ui.admin/css/style.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/Project.css" />
    <!--[if IE 6]>
    <script type="text/javascript" src="../../../lib/DD_belatedPNG_0.0.8a-min.js" ></script>
    <script>DD_belatedPNG.fix('*');</script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="../../../ht-css/style-q.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/custom.css" />
    <link rel="stylesheet" type="text/css" href="../../../ht-css/accountAystem/order_manage.css" />
    <title>订单相关管理</title>
</head>

<body data-id="">
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 会员管理 <span
            class="c-gray en">&gt;</span> 客户组管理 </nav>
    <article class="page-container">
        <div id="tab_topnav" class="HuiTab">
            <div class="tabBar clearfix ml-20">
                <span onclick="qiehuan(0)">基础信息配置</span>
                <span onclick="qiehuan(1)">订单信息配置</span>
                <span onclick="qiehuan(2)">审批功能配置</span>
            </div>
            <div class="tabCon bk-gray bg-1">
                <div class="order-line"></div>
                <div class="order-keyname">
                    <span><i class="redicon">*</i>运费类型：</span>
                    <div class="mt-20 skin-minimal" style="display: inline-block">
                        <div class="radio-box" id="qq">
                            <input type="radio" id="radio1" name="freightType" checked>
                            <label for="radio1">不限</label>
                        </div>
                        <div class="radio-box">
                            <input type="radio" id="radio2" name="freightType">
                            <label for="radio2">单开</label>
                        </div>
                        <div class="radio-box">
                            <input type="radio" id="radio3" name="freightType">
                            <label for="radio3">分摊</label>
                        </div>
                    </div>
                </div>
                <div class="order-line"></div>
                <div class="order-keyname">
                    <span><i class="redicon">*</i>支付方式：</span>
                    <div class="skin-minimal" style="display: inline-block" id="payment_method">
                        <div class="check-box">
                            <input type="checkbox" id="checkbox1" name="paymentMethod1" class="pay_method" checked>
                            <label for="checkbox1">账期支付</label>
                        </div>
                        <div class="check-box">
                            <input type="checkbox" id="checkbox2" name="paymentMethod2" class="pay_method" checked>
                            <label for="checkbox2">在线支付</label>
                        </div>
                        <div class="check-box">
                            <input type="checkbox" id="checkbox3" name="paymentMethod3" class="pay_method" checked>
                            <label for="checkbox3">线下汇款</label>
                        </div>
                        <div class="check-box">
                            <input type="checkbox" id="checkbox4" name="paymentMethod4" class="pay_method" checked>
                            <label for="checkbox4">货到付款</label>
                        </div>
                    </div>
                </div>
                <div class="order-line"></div>
                <div class="order-keyname">
                    <span><i class="redicon">*</i>参与活动：</span>
                    <div class="mt-20 skin-minimal" style="display: inline-block">
                        <div class="radio-box">
                            <input type="radio" id="radio5" name="joinActivity" checked>
                            <label for="radio5">不参加</label>
                        </div>
                        <div class="radio-box">
                            <input type="radio" id="radio6" name="joinActivity">
                            <label for="radio6">参加</label>
                        </div>
                    </div>
                </div>
                <div class="order-line"></div>
                <div class="order-keyname">
                    <span><i class="redicon">*</i>是否要资质：</span>
                    <div class="mt-20 skin-minimal" style="display: inline-block;margin-right: 70px">
                        <div class="radio-box">
                            <input type="radio" id="radio7" name="needqualify" value="不展示" checked>
                            <label for="radio7">不展示</label>
                        </div>
                        <div class="radio-box">
                            <input type="radio" id="radio8" name="needqualify" value="展示">
                            <label for="radio8">展示</label>
                        </div>
                    </div>
                    <!--  <span>带红章：</span>
                <div class="mt-20 skin-minimal" style="display: inline-block">
                    <div class="radio-box">
                        <input type="radio" id="radio9" name="redChapter">
                        <label for="radio9">是</label>
                    </div>
                    <div class="radio-box">
                        <input type="radio" id="radio10" name="redChapter">
                        <label for="radio10">否</label>
                    </div>
                </div>-->
                    <input type="text" placeholder="请输入份数" id="copyNum" class="input-text radius size-M"
                        style="width:150px" oninput="Verificationall(this)">
                    <span>份数</span>
                </div>
                <div class="order-line"></div>
                <div class="order-keyname">
                    <span><i class="redicon">*</i>支付审批周期：</span>
                    <div class="mt-20 skin-minimal" style="display: inline-block;margin-right: 70px">
                        <input type="text" placeholder="" id="paymentApprovalCycle" value="5"
                            class="input-text radius size-M" style="width:150px"
                            onkeyup="this.value=this.value.replace(/[^\d]/g,'') "
                            onafterpaste="this.value=this.value.replace(/[^\d]/g,'') " onchange="effectiveness(this)"
                            autocomplete="off">
                        <span>天</span>
                    </div>

                </div>
                <div class="order-keyname">
                    <span>初始登录密码：</span>
                    <div class="mt-20 skin-minimal" style="display: inline-block;margin-right: 70px">
                        <input type="text" placeholder="" name="mainPassword" class="input-text radius size-M"
                            style="width:150px">
                    </div>
                </div>
                <div class="order-keyname">
                    <span>是否展示轮播图：</span>
                    <div class="mt-20 skin-minimal" style="display: inline-block">
                        <div class="radio-box">
                            <input type="radio" id="radio10" name="slideShow" value="0" checked>
                            <label for="radio10">展示</label>
                        </div>
                        <div class="radio-box">
                            <input type="radio" id="radio11" name="slideShow" value="1"
                                onclick="checkMianCustomerSlideshowIsShow()">
                            <label for="radio11">不展示</label>
                        </div>
                    </div>
                </div>
                <div class="order-button">
                    <input class="btn btn-primary size-M radius" type="button" onclick="saveOrderState()"
                        value="保&nbsp;&nbsp;存">
                    <input class="btn btn-default radius size-M" type="button" onclick="cancelOrderState()"
                        value="取&nbsp;&nbsp;消">
                </div>

            </div>
            <div class="tabCon bk-gray bg-1">
                <div class="order-line"></div>
                <table class="order-configure">
                    <thead>
                        <tr>
                            <th>模块</th>
                            <th>字段名称</th>
                            <th>必填开关</th>
                            <th>最后操作人</th>
                            <th>最后操作时间</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>订单</td>
                            <td>附件</td>
                            <td>
                                <input id="attachment" type="radio" name="attachment" value="20" checked />非必填
                                <input id="attachment_required" type="radio" name="attachment" value="10" />必填
                            </td>
                            <td class="o_Last_Operation_User_Info"></td>
                            <td class="o_last_Operation_Date"></td>
                        </tr>
                        <tr>
                            <td>订单</td>
                            <td>客户物料号编码</td>
                            <td>
                                <input id="materielNumber" type="radio" name="materielNumber" value="20" checked />非必填
                                <input id="materielNumber_required" type="radio" name="materielNumber" value="10" />必填
                            </td>
                            <td class="o_Last_Operation_User_Info"></td>
                            <td class="o_last_Operation_Date"></td>
                        </tr>
                        <tr>
                            <td>订单</td>
                            <td>客户物料号名称</td>
                            <td>
                                <input id="materielName" type="radio" name="materielName" value="20" checked />非必填
                                <input id="materielName_required" type="radio" name="materielName" value="10" />必填
                            </td>
                            <td class="o_Last_Operation_User_Info"></td>
                            <td class="o_last_Operation_Date"></td>
                        </tr>
                        <tr>
                            <td>订单</td>
                            <td>订单备注</td>
                            <td>
                                <input id="orderRemark" type="radio" name="orderRemark" value="20" checked />非必填
                                <input id="orderRemark_required" type="radio" name="orderRemark" value="10" />必填
                            </td>
                            <td class="o_Last_Operation_User_Info"></td>
                            <td class="o_last_Operation_Date"></td>
                        </tr>
                        <tr>
                            <td>订单</td>
                            <td>客户订单号</td>
                            <td>
                                <input id="outOrderId" type="radio" name="outOrderId" value="20" checked />非必填
                                <input id="outOrderId_required" type="radio" name="outOrderId" value="10" />必填
                            </td>
                            <td class="o_Last_Operation_User_Info"></td>
                            <td class="o_last_Operation_Date"></td>
                        </tr>
                    </tbody>
                </table>
                <div class="order-button">
                    <input class="btn btn-primary size-M radius" type="button" onclick="saveMianCustomerOrderExtSetup()"
                        value="保&nbsp;&nbsp;存">
                </div>
            </div>
            <div class="tabCon bk-gray bg-1">
                <div class="order-line"></div>
                <table class="order-configure">
                    <thead>
                        <tr>
                            <th>功能</th>
                            <th>配置项</th>
                            <th>描述</th>
                            <th>最后操作人</th>
                            <th>最后操作时间</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td>审批提醒</td>
                            <td>
                                <input type="checkbox"  name="approveNotice" value="1" />短信
                                <input type="checkbox"  name="approveNotice" value="2" />邮件
                            </td>
                            <td>
                                若配置了任一配置项,则订单提交审批后,均会按照配置内容,发送审批提醒信息
                            </td>
                            <td class="c_Last_Operation_User_Info"></td>
                            <td class="c_Last_Operation_Date"></td>
                        </tr>
                        <tr>
                            <td>驳回提醒</td>
                            <td>
                                <input type="checkbox"  name="refuseNotice" value="1" />短信
                                <input type="checkbox" name="refuseNotice" value="2" />邮件
                            </td>
                            </td>
                            <td>
                                若配置了任一配置项,则订单提交审批后,均会按照配置内容,发送审批提醒信息
                            </td>
                            <td class="c_Last_Operation_User_Info"></td>
                            <td class="c_Last_Operation_Date"></td>
                        </tr>
                    </tbody>
                </table>
                <div class="order-button">
                    <input class="btn btn-primary size-M radius" type="button"
                        onclick="saveMainCustomerApproveExtSetup()" value="保&nbsp;&nbsp;存">
                </div>
            </div>
        </div>
    </article>
    <div style="text-align: center;;margin-top: 22px;">鑫方盛电子商务股份有限公司提供支持</div>

    <!--_footer 作为公共模版分离出去-->
    <script type="text/javascript"
        src="../../../lib/jquery/1.9.1/jquery.min.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../lib/layer/2.4/layer.js?rev=@@hash"></script>
    <script type="text/javascript"
        src="../../../static/h-ui/js/H-ui.min.js?rev=@@hash"></script>
    <script type="text/javascript"
        src="../../../static/h-ui.admin/js/H-ui.admin.js?rev=@@hash"></script>
    <!--/_footer 作为公共模版分离出去-->
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript"
        src="../../../lib/jquery.jedate.min.js?rev=@@hash"></script>
    <script type="text/javascript"
        src="../../../lib/My97DatePicker/4.8/WdatePicker.js?rev=@@hash"></script>
    <!--表单验证-->
    <script type="text/javascript"
        src="../../../lib/jquery.validation/1.14.0/jquery.validate.js?rev=@@hash"></script>
    <script type="text/javascript"
        src="../../../lib/jquery.validation/1.14.0/validate-methods.js?rev=@@hash"></script>
    <script type="text/javascript"
        src="../../../lib/jquery.validation/1.14.0/messages_zh.js?rev=@@hash"></script>
    <script type="text/javascript"
        src="../../../lib/Validform/5.3.2/Validform_v5.3.2_min.js?rev=@@hash"></script>
    <script type="text/javascript"
        src="../../../lib/datatables/1.10.0/jquery.dataTables.min.js?rev=@@hash"></script>
    <script type="text/javascript"
        src="../../../lib/laypage/1.2/laypage.js?rev=@@hash"></script>
    <script src="../../../ht-js/public.js?rev=@@hash"></script>
    <!--验证token-->
    <script src="../../../ht-js/verifyToken.js?rev=@@hash"></script>
    <!--<script src="../../ht-js/Project.js?rev=@@hash"></script>-->
    <!--引入分页-->
    <link rel="stylesheet" href="../../../lib/pagination/pagination.css">
    <script src="../../../lib/pagination/jquery.pagination.js?rev=@@hash"></script>
    <script type="text/javascript" src="../../../ht-js/frame/doT.min.js?rev=@@hash"></script>
    <script src="../../../ht-js/Customer/accountAystem/order_manage.js?rev=@@hash"></script>
    <!--权限控制-->
    <!--<script type="text/javascript" src="../../../ht-js/power.js?rev=@@hash"></script>-->
    <script>
        jQuery.Huitab = function (tabBar, tabCon, class_name, tabEvent, i) {
            var $tab_menu = $(tabBar);
            // 初始化操作
            $tab_menu.removeClass(class_name);
            $(tabBar).eq(i).addClass(class_name);
            $(tabCon).hide();
            $(tabCon).eq(i).show();

            $tab_menu.bind(tabEvent, function () {
                $tab_menu.removeClass(class_name);
                $(this).addClass(class_name);
                var index = $tab_menu.index(this);
                $(tabCon).hide();
                $(tabCon).eq(index).show()
                if (!$(".tabBar span:eq(0)").hasClass("current")) {
                    $("#modal-company").hide()
                }
            })
        }
        $(function () {
            $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", "0")
            // myFunctionaa()
        });
        function qiehuan(val) {
            $.Huitab("#tab_topnav .tabBar span", "#tab_topnav .tabCon", "current", "click", val);
            switch (val) {
                case 1:
                    Get_MianCustomerOrderExtSetup();
                    break;
                case 2:
                    Get_MainCustomerApproveExtSetup();
                    break;
            }
        }
    </script>
</body>

</html>